package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.common.PageResult7;
import com.itheima.common.Simple;
import com.itheima.entity.SubjectsTags;
import com.itheima.entity.SubjectsTagsDto;

import java.util.List;

/**
 * @author cfr
 * @date 2022/1/9
 * @TIME:20:41
 */
public interface SubjectsTagsService  extends IService<SubjectsTags> {
    String add(SubjectsTags subjectsTags);


    String modify(SubjectsTags subjectsTags);


    PageResult7 finfPage(Long page, Long pagesize, String tagName, Integer state,Integer subjectID );

    String state(Integer id, Integer state);

    String delete(SubjectsTagsDto subjectsTagsDto);

    SubjectsTagsDto fingById(Integer id);

    List<Simple> subjectsTagsService(Integer subjectID);

}
